package com.qf.sy2103.ssm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private int id ;
    private String name;
    private String password;
    private String phone;
    private String img;
    public User(String name, String password, String phone,String img) {
        this.name = name;
        this.password = password;
        this.phone = phone;
        this.img = img;
    }
}
